/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.ismaila.designPatterns.behavioural.state.factories;

import za.ac.cput.ismaila.designPatterns.behavioural.state.EmotionalState;
import za.ac.cput.ismaila.designPatterns.behavioural.state.HappyState;
import za.ac.cput.ismaila.designPatterns.behavioural.state.Person;
import za.ac.cput.ismaila.designPatterns.behavioural.state.SadState;

/**
 *
 * @author 210151927
 */
public class AppFactory {

    public static Person createPerson(HappyState happyState) {
        return new Person(happyState);
    }

    public static HappyState createHappyState() {
        return new HappyState();
    }

    public static EmotionalState createSadState() {
        return new SadState();
    }
    
}
